package com.dycloud.project.service;

import com.dycloud.project.domain.MeetingReceipt;
import com.dycloud.project.dto.MeetingReceiptDTO;
import com.dycloud.project.request.MeetingReceiptRequest;
import com.dycloud.project.vo.MeetingReceiptListVO;

import java.util.List;

public interface IMeetingReceiptService {
    /**
     * 查询会议回执
     *
     * @param id 会议回执主键
     * @return 会议回执
     */
    public MeetingReceipt selectMeetingReceiptById(Long id);

    /**
     * 查询会议回执列表
     *
     * @param meetingReceipt 会议回执
     * @return 会议回执集合
     */
    public List<MeetingReceiptListVO> selectMeetingReceiptList(MeetingReceipt meetingReceipt);

    /**
     * 新增会议回执
     *
     * @param meetingReceipt 会议回执
     * @return 结果
     */
    public int insertMeetingReceipt(MeetingReceipt meetingReceipt);


    /**
     * 填写回执
     *
     * @param request request
     * @return:
     */

    void write(MeetingReceiptRequest request);

    List<MeetingReceiptListVO> selectUserMeetingReceiptList(MeetingReceipt meetingReceipt);

    List<MeetingReceiptDTO> queryUserIsWrite(List<Long> meetingIds, Long userId);
}